package com.dibang.app.operation.presenter.impl;

import android.support.annotation.NonNull;

import com.dibang.app.bean.GroupSelectNumberItem;
import com.dibang.app.mvp.abs.AbsPresenter;
import com.dibang.app.operation.model.abs.IssueGroupModel;
import com.dibang.app.operation.presenter.abs.IssueGroupPresenter;
import com.dibang.app.operation.view.abs.IssueGroupView;

import java.util.List;

/**
 * Created by wxl on 2019/7/24.
 *
 */

public class IssueGroupPresenterImpl extends AbsPresenter<IssueGroupView,IssueGroupPresenter,IssueGroupModel> implements IssueGroupPresenter {


    @NonNull
    @Override
    public List<GroupSelectNumberItem> getNumbers(int num, int selectedNum) {
        return model.generateNumbers(num, selectedNum);
    }

    @NonNull
    @Override
    public List<GroupSelectNumberItem> getRemarks(int selectedPosition) {
        return model.generateRemarks(selectedPosition);
    }
}
